import { configureStore } from '@reduxjs/toolkit'

import userReducer from './modules/userStore'
import reportReducer from './modules/reportStore'
import blogReducer from './modules/blogStore'

export default configureStore({
  reducer: {
    // 注册子模块
    user: userReducer,
    report: reportReducer,
    blog: blogReducer
  }
})